<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script>
    var test = {
        "//": "id注释",
        "id": 1,
        "//": "name注释",
        "name": "呵呵"
    };

    console.log(test);
</script>
</body>
</html>